<extend name="base/index" />

<block name="style">
    <style>
        .webuploader-element-invisible{
			width: 0px;
		}
    </style>

</block>

<block name="content">
    <div class="main">
      <div class="container">
        <ul class="breadcrumb">
            <li><a href="{:U('Home/index')}">首页</a></li>
            <li class="active">上传文档</li>
        </ul>
        <!-- BEGIN SIDEBAR & CONTENT -->
        <div class="row margin-bottom-40">
          <!-- BEGIN SIDEBAR -->
          <div class="sidebar col-md-3 col-sm-3">
			<include file="Public/user_sidebar" />
          </div>
          <!-- END SIDEBAR -->

          <!-- BEGIN CONTENT -->
          <div class="col-md-9 col-sm-9">
            <h1>修改用户资料</h1>
            <div class="content-form-page">
              <div class="row">
                <div class="col-md-9 col-sm-9">
                  <form class="form-horizontal" id="pdf_update" role="form" action="__SELF__" method="post">

                    <fieldset>
                      <!-- <legend>上传文件</legend> -->
                      <div class="form-group">
                        <label for="firstname" class="col-lg-3 control-label">用户名 <span class="require">*</span></label>
                        <div class="col-lg-9">
								<input type="text" class="form-control" name="username" value="{$member.username}" placeholder="" disabled>
							
                        </div>
                      </div>
					  <div class="form-group">
                        <label for="firstname" class="col-lg-3 control-label">昵称 <span class="require">*</span></label>
                        <div class="col-lg-9">
								<input type="text" class="form-control" name="nickname" value="{$member.nickname}" placeholder="">
							
                        </div>
                      </div>
					<div class="form-group">
                        <label for="firstname" class="col-lg-3 control-label">头像 <span class="require">*</span></label>
                        <div class="col-lg-9">
							<div class="input-group">
								<img id="covimg" src="">
								<span class="help-inline" style="vertical-align: bottom;"><a href="{:U('Home/User/useravatarset')}" style="color: #FA0710;">点击</a>修改头像</span>
								
							</div>
                        </div>
                      </div>
                    </fieldset>
                    <fieldset>
                      <legend>资料信息</legend>
					<div class="form-group">
                        <label for="password" class="col-lg-3 control-label">手机号 <span class="require">*</span></label>
                        <div class="col-lg-9">
                          <input type="text" class="form-control" name='mobile' value="{$member.mobile}" id="mobile">
                        </div>
                    </div>
                      <div class="form-group">
                        <label for="password" class="col-lg-3 control-label">邮箱 <span class="require">*</span></label>
                        <div class="col-lg-9">
                          <input type="text" class="form-control" name='email' value="{$member.email}" id="email" disabled>
                        </div>
                      </div>
					  <div class="form-group">
                        <label for="password" class="col-lg-3 control-label">QQ <span class="require">*</span></label>
                        <div class="col-lg-9">
                          <input type="text" class="form-control" name='qq' value="{$member.qq}" id="qq">
                        </div>
                      </div>
					  
                      <div class="form-group">
                        <label for="confirm-password" class="col-lg-3 control-label">签名<span class="require">*</span></label>
                        <div class="col-lg-9">
                          <textarea class="form-control" name='description' rows="3">{$member.description}</textarea>
                        </div>
                      </div>
                    </fieldset>

                    <div class="row">
                      <div class="col-lg-6 col-md-offset-4 padding-left-0 padding-top-20">                        
                        <button type="submit" class="btn blue btn-block">提交</button>
                        <!-- <button type="button" class="btn btn-default">取消</button> -->
                      </div>
                    </div>
                  </form>
                </div>

              </div>
            </div>
          </div>
          <!-- END CONTENT -->
        </div>
        <!-- END SIDEBAR & CONTENT -->
      </div>
    </div>

</block>
<block name="script">
	<script src="__assets__/global/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
	<script type="text/javascript">
        jQuery(document).ready(function() {
            Layout.init();
            Layout.initUniform();
            Layout.initTwitter();
        });
    </script>
	<script src="__static__/Webuploader/webuploader.js" type="text/javascript"></script>
	
</block>